import React from "react";
import ReactDOM from "react-dom/client";
// 引入 react-redux 的 Provider
import { Provider } from "react-redux";

// 引入 store
import store from "./store";

import App from "./App";

// 创建容器
const root = ReactDOM.createRoot(document.querySelector("#root") as Element);

root.render(
  <Provider store={store}>
    <App />
  </Provider>
);
